TextOut

Category: Windows

Syntax:
TextOut [> window] color text
TextOut > %object color text

Displays text in a server, channel, query, or DCC chat window, or in a text scroller object.

color can be a hex number ($$BBGGRR) or one of these values:

Standard colors clBlack, clMaroon, clGreen, clOlive, clNavy, clPurple, clTeal, clGray, clSilver, clRed, clLime, clBlue, clFuchsia, clAqua, clWhite
User's color scheme ecBackground, ecHyperlink, ecScriptLink, ecServText, ecMyChanText, ecChanText, ecMyQueryText, ecQueryText, ecAction, ecJOIN, ecPART, ecQUIT, ecPRIVMSG, ecNOTICE, ecTOPIC, ecMODE, ecKICK, ecCTCP, ecDCC, ecNICK, ecError, ecScript, ecInputBoxFG, ecInputBoxBG, ecNickListFG, ecNickListBG

If the first syntax is used, window can be a single window name, or a comma-separated list of window names to try in order. The first window name that exists will be used. If none of the named windows exist, but the last name refers to a query window, the query window will be opened automatically.

If the second syntax is used, object must be the valid handle of a TRichEdit or TMonkeySex object. TMonkeySex is read-only, but it's faster and works with more attribute codes than TRichEdit.

text may contain any of these control codes:

Example:
SAMPLE CODE

Next in "Windows": TextOutBitmap
Previous in "Windows": ShowServerList
Next by name: TextOutBitmap
Previous by name: TDCC
Up to all commands by name or commands and functions by category